package level4.display.colors
{
	public class Colors
	{
		public static const RED:uint 		= 0xff0000;
		public static const GREEN:uint 		= 0x00ff00;
		public static const BLUE:uint 		= 0x0000ff;
		public static const WHITE:uint 		= 0xffffff;
		public static const BLACK:uint		= 0;
		public static const PINK:uint 		= 0xff3366;
		/**
		 * 将 argb颜色,分为 argb数组
		 * */
		public static function SeparateColorToArray(c:uint):Array{
			var a:int = c >> 24 & 0xff;
			var r:int = c >> 16 & 0xff;
			var g:int = c >> 8 & 0xff;
			var b:int = c & 0xff;
			return [a,r,g,b];
		}
	}
}